import request from '@/utils/request';

// 提现限制开关(1=打开,0=关闭)
export function switchData(query) {
  return request({
    url: `/user-manager/withdrawal-whitelist/config/` + query,
    method: 'put',
  });
}

// user-manager/withdrawal-whitelist/config
export function getConfig(query) {
    return request({
      url: `/user-manager/withdrawal-whitelist/config`,
      method: 'get',
      params: query
    });
  }
// 获取审核列表
export function listData(query) {
    return request({
      url: `/user-manager/withdrawal-whitelist/list`,
      method: 'get',
      params: query
    });
}

// 
export function auditStatus(query) {
    return request({
      url: `/user-manager/withdrawal-whitelist/audit`,
      method: 'put',
      data: query
    });
  }